<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>编辑投票信息</title>
</head>
<body>
<form action="__URL__/update" method="post">
候选人姓名： <?php echo ($cname); ?><input type="hidden" name="candid" value="<?php echo ($data['candid']); ?>"/><br />
投票人姓名：<?php echo ($uname); ?> <input type="hidden" name="userid" value="<?php echo ($data['userid']); ?>"/><br />
分数： <input type="text" name="score" value="<?php echo ($data['score']); ?>"/><br />
<br />
优点：
<textarea name="merit" rows="10" cols="30" ><?php echo ($data['merit']); ?></textarea><br />
不足：
<textarea name="defect" rows="10" cols="30" ><?php echo ($data['defect']); ?></textarea><br />
 <input type="hidden" name="id" value="<?php echo ($data['id']); ?>"/>
<br />
<input type="submit" value="更新" />

</form>
</body>
</html>